<template>
  <el-link class="file-text"
    ><el-icon><Document /></el-icon>
    {{ props.name }}
  </el-link>
</template>

<script lang="ts" setup>
import { ref, defineProps } from "vue";

const props = defineProps({
  url: {
    type: String,
    default: ""
  },
  name: {
    type: String,
    default: ""
  }
});
</script>

<style lang="scss" scoped>
.file-text {
  i {
    margin-right: 4px;
  }
}
</style>
